/*
 * @Author: xiaosihan
 * @Date: 2024-07-30 16:05:56
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2024-07-30 17:35:33
 */

//Group
import { Group } from "three";
import MeshBase from "three-base/MeshBase";
import shadowUSDZ from "./shadow.usdz?url";

// 加载usdz
export default class USDZ2 extends Group {
  constructor() {
    super();
  }

  mesh = (() => {
    const mesh = new MeshBase(shadowUSDZ);
    this.add(mesh);
    return mesh;
  })();

  updateMatrix(): void {
    super.updateMatrix();
  }
}
